From 6c1a029aef07f6962716a5a7b3d6b942281f4e4e Mon Sep 17 00:00:00 2001 From: Roger Pau Monne Date: Thu, 26 Oct 2017 10:19:30 +0100 Subject: [PATCH] gcov: return ENOSYS for unimplemented gcov domctl MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Roger Pau Monné Reviewed-by: Ian Jackson Release-acked-by: Julien Grall Acked-by: Wei Liu --- xen/common/gcov/gcov.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xen/common/gcov/gcov.c b/xen/common/gcov/gcov.c index 2f18f6d176..35653fd8d8 100644 --- a/xen/common/gcov/gcov.c +++ b/xen/common/gcov/gcov.c @@ -239,7 +239,7 @@ int sysctl_gcov_op(struct xen_sysctl_gcov_op *op) break; default: - ret = -EINVAL; + ret = -ENOSYS; break; } -- 2.30.2